package com.myutil.utils.http;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

public class Response{
	private Integer httpResponseCode;
	private Map<String,List<String>> headers;
	//private String body;
	private InputStream inputStream;
	
	public Response(Integer httpResponseCode, Map<String, List<String>> headerFields, InputStream inputStream) {
		this.httpResponseCode=httpResponseCode;
		this.headers=headerFields;
		this.inputStream=inputStream;
	}

	public Integer getHttpResponseCode() {
		return httpResponseCode;
	}

	public void setHttpResponseCode(Integer httpResponseCode) {
		this.httpResponseCode = httpResponseCode;
	}

	public Map<String, List<String>> getHeaders() {
		return headers;
	}

	public void setHeaders(Map<String, List<String>> headers) {
		this.headers = headers;
	}

	public InputStream getInputStream() {
		return inputStream;
	}

	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}
}